#! /bin/bash
gnuplot << EOF
set terminal postscript enhanced 25
set output '$1.ps'
set key left Left reverse
set key samplen 3
set yrange[0:1400]
set style line 1 lt 1 pt 1 ps 2  lw 5 lc rgb "grey" 
set style line 2 lt 2 pt 2 ps 2  lw 5 lc rgb "black" 
set ylabel 'Execution Time (ms)'
plot "$1" using 2:xtic(1) with linespoints ls 1  title "OpenCL",\
	"$1" using 3:xtic(1) with linespoints ls 2 title "MonetDB"
EOF
